#ifndef CONTROL_H
#define CONTROL_H

#include "scorecard.h"
#include "statistics.h"
//#include hardware stuff
#include<string>

/**
 * This is the controller class. In the end we realized that it only needed an internal
 * scorecard and statistics class to take care of everything. All the other functionality
 * would be handled indirectly. i.e. captureSwing would both add swing in scorecard through
 * that functionality as well as increment the number of strokes.
 */
class control {
    public:
        Control();
        ~Control();
        void start();
        void pause();
        void resume();
        void end();
        void confirmCourse();
        void confirmStroke();
        void getCourse();
        void registerSwing();
    
    private:
        std::string course;
        ScoreCard card;
        Statistics stats;
};
#endif
